// $ANTLR 3.4 C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g 2012-12-03 13:41:44

import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;

@SuppressWarnings({"all", "warnings", "unchecked"})
public class gramaticaLexer extends Lexer {
    public static final int EOF=-1;
    public static final int CHAR=4;
    public static final int COMA=5;
    public static final int DIGITO0A9=6;
    public static final int DIV=7;
    public static final int DOTCOM=8;
    public static final int ENTERO=9;
    public static final int EXPONENT=10;
    public static final int HEX_DIGIT=11;
    public static final int ID=12;
    public static final int IGUAL=13;
    public static final int LB=14;
    public static final int MAS=15;
    public static final int MENOS=16;
    public static final int NUMERO=17;
    public static final int OCTAL_ESC=18;
    public static final int POR=19;
    public static final int POT=20;
    public static final int RB=21;
    public static final int SKIP=22;
    public static final int UNICODE_ESC=23;
    public static final int UNIDADES=24;
    public static final int VAR=25;

    // delegates
    // delegators
    public Lexer[] getDelegates() {
        return new Lexer[] {};
    }

    public gramaticaLexer() {} 
    public gramaticaLexer(CharStream input) {
        this(input, new RecognizerSharedState());
    }
    public gramaticaLexer(CharStream input, RecognizerSharedState state) {
        super(input,state);
    }
    public String getGrammarFileName() { return "C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g"; }

    // $ANTLR start "CHAR"
    public final void mCHAR() throws RecognitionException {
        try {
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:82:5: ( 'a' .. 'z' | 'A' .. 'Z' )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:
            {
            if ( (input.LA(1) >= 'A' && input.LA(1) <= 'Z')||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
                input.consume();
            }
            else {
                MismatchedSetException mse = new MismatchedSetException(null,input);
                recover(mse);
                throw mse;
            }


            }


        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "CHAR"

    // $ANTLR start "DIGITO0A9"
    public final void mDIGITO0A9() throws RecognitionException {
        try {
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:87:2: ( '0' .. '9' )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:
            {
            if ( (input.LA(1) >= '0' && input.LA(1) <= '9') ) {
                input.consume();
            }
            else {
                MismatchedSetException mse = new MismatchedSetException(null,input);
                recover(mse);
                throw mse;
            }


            }


        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "DIGITO0A9"

    // $ANTLR start "EXPONENT"
    public final void mEXPONENT() throws RecognitionException {
        try {
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:91:10: ( ( 'e' | 'E' ) ( '+' | '-' )? ( DIGITO0A9 )+ )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:91:12: ( 'e' | 'E' ) ( '+' | '-' )? ( DIGITO0A9 )+
            {
            if ( input.LA(1)=='E'||input.LA(1)=='e' ) {
                input.consume();
            }
            else {
                MismatchedSetException mse = new MismatchedSetException(null,input);
                recover(mse);
                throw mse;
            }


            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:91:22: ( '+' | '-' )?
            int alt1=2;
            int LA1_0 = input.LA(1);

            if ( (LA1_0=='+'||LA1_0=='-') ) {
                alt1=1;
            }
            switch (alt1) {
                case 1 :
                    // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:
                    {
                    if ( input.LA(1)=='+'||input.LA(1)=='-' ) {
                        input.consume();
                    }
                    else {
                        MismatchedSetException mse = new MismatchedSetException(null,input);
                        recover(mse);
                        throw mse;
                    }


                    }
                    break;

            }


            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:91:33: ( DIGITO0A9 )+
            int cnt2=0;
            loop2:
            do {
                int alt2=2;
                int LA2_0 = input.LA(1);

                if ( ((LA2_0 >= '0' && LA2_0 <= '9')) ) {
                    alt2=1;
                }


                switch (alt2) {
            	case 1 :
            	    // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:
            	    {
            	    if ( (input.LA(1) >= '0' && input.LA(1) <= '9') ) {
            	        input.consume();
            	    }
            	    else {
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
            	        recover(mse);
            	        throw mse;
            	    }


            	    }
            	    break;

            	default :
            	    if ( cnt2 >= 1 ) break loop2;
                        EarlyExitException eee =
                            new EarlyExitException(2, input);
                        throw eee;
                }
                cnt2++;
            } while (true);


            }


        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "EXPONENT"

    // $ANTLR start "HEX_DIGIT"
    public final void mHEX_DIGIT() throws RecognitionException {
        try {
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:94:11: ( ( DIGITO0A9 | 'a' .. 'f' | 'A' .. 'F' ) )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:
            {
            if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'F')||(input.LA(1) >= 'a' && input.LA(1) <= 'f') ) {
                input.consume();
            }
            else {
                MismatchedSetException mse = new MismatchedSetException(null,input);
                recover(mse);
                throw mse;
            }


            }


        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "HEX_DIGIT"

    // $ANTLR start "OCTAL_ESC"
    public final void mOCTAL_ESC() throws RecognitionException {
        try {
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:99:5: ( '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) )
            int alt3=3;
            int LA3_0 = input.LA(1);

            if ( (LA3_0=='\\') ) {
                int LA3_1 = input.LA(2);

                if ( ((LA3_1 >= '0' && LA3_1 <= '3')) ) {
                    int LA3_2 = input.LA(3);

                    if ( ((LA3_2 >= '0' && LA3_2 <= '7')) ) {
                        int LA3_4 = input.LA(4);

                        if ( ((LA3_4 >= '0' && LA3_4 <= '7')) ) {
                            alt3=1;
                        }
                        else {
                            alt3=2;
                        }
                    }
                    else {
                        alt3=3;
                    }
                }
                else if ( ((LA3_1 >= '4' && LA3_1 <= '7')) ) {
                    int LA3_3 = input.LA(3);

                    if ( ((LA3_3 >= '0' && LA3_3 <= '7')) ) {
                        alt3=2;
                    }
                    else {
                        alt3=3;
                    }
                }
                else {
                    NoViableAltException nvae =
                        new NoViableAltException("", 3, 1, input);

                    throw nvae;

                }
            }
            else {
                NoViableAltException nvae =
                    new NoViableAltException("", 3, 0, input);

                throw nvae;

            }
            switch (alt3) {
                case 1 :
                    // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:99:9: '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' )
                    {
                    match('\\'); 

                    if ( (input.LA(1) >= '0' && input.LA(1) <= '3') ) {
                        input.consume();
                    }
                    else {
                        MismatchedSetException mse = new MismatchedSetException(null,input);
                        recover(mse);
                        throw mse;
                    }


                    if ( (input.LA(1) >= '0' && input.LA(1) <= '7') ) {
                        input.consume();
                    }
                    else {
                        MismatchedSetException mse = new MismatchedSetException(null,input);
                        recover(mse);
                        throw mse;
                    }


                    if ( (input.LA(1) >= '0' && input.LA(1) <= '7') ) {
                        input.consume();
                    }
                    else {
                        MismatchedSetException mse = new MismatchedSetException(null,input);
                        recover(mse);
                        throw mse;
                    }


                    }
                    break;
                case 2 :
                    // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:100:9: '\\\\' ( '0' .. '7' ) ( '0' .. '7' )
                    {
                    match('\\'); 

                    if ( (input.LA(1) >= '0' && input.LA(1) <= '7') ) {
                        input.consume();
                    }
                    else {
                        MismatchedSetException mse = new MismatchedSetException(null,input);
                        recover(mse);
                        throw mse;
                    }


                    if ( (input.LA(1) >= '0' && input.LA(1) <= '7') ) {
                        input.consume();
                    }
                    else {
                        MismatchedSetException mse = new MismatchedSetException(null,input);
                        recover(mse);
                        throw mse;
                    }


                    }
                    break;
                case 3 :
                    // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:101:9: '\\\\' ( '0' .. '7' )
                    {
                    match('\\'); 

                    if ( (input.LA(1) >= '0' && input.LA(1) <= '7') ) {
                        input.consume();
                    }
                    else {
                        MismatchedSetException mse = new MismatchedSetException(null,input);
                        recover(mse);
                        throw mse;
                    }


                    }
                    break;

            }

        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "OCTAL_ESC"

    // $ANTLR start "UNICODE_ESC"
    public final void mUNICODE_ESC() throws RecognitionException {
        try {
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:106:5: ( '\\\\' 'u' HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:106:9: '\\\\' 'u' HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT
            {
            match('\\'); 

            match('u'); 

            mHEX_DIGIT(); 


            mHEX_DIGIT(); 


            mHEX_DIGIT(); 


            mHEX_DIGIT(); 


            }


        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "UNICODE_ESC"

    // $ANTLR start "VAR"
    public final void mVAR() throws RecognitionException {
        try {
            int _type = VAR;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:111:6: ( 'var' )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:111:8: 'var'
            {
            match("var"); 



            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "VAR"

    // $ANTLR start "UNIDADES"
    public final void mUNIDADES() throws RecognitionException {
        try {
            int _type = UNIDADES;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:114:9: ( 'unidades' )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:114:11: 'unidades'
            {
            match("unidades"); 



            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "UNIDADES"

    // $ANTLR start "ID"
    public final void mID() throws RecognitionException {
        try {
            int _type = ID;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:117:5: ( CHAR ( CHAR | DIGITO0A9 )* )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:117:7: CHAR ( CHAR | DIGITO0A9 )*
            {
            mCHAR(); 


            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:117:12: ( CHAR | DIGITO0A9 )*
            loop4:
            do {
                int alt4=2;
                int LA4_0 = input.LA(1);

                if ( ((LA4_0 >= '0' && LA4_0 <= '9')||(LA4_0 >= 'A' && LA4_0 <= 'Z')||(LA4_0 >= 'a' && LA4_0 <= 'z')) ) {
                    alt4=1;
                }


                switch (alt4) {
            	case 1 :
            	    // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:
            	    {
            	    if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
            	        input.consume();
            	    }
            	    else {
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
            	        recover(mse);
            	        throw mse;
            	    }


            	    }
            	    break;

            	default :
            	    break loop4;
                }
            } while (true);


            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "ID"

    // $ANTLR start "MAS"
    public final void mMAS() throws RecognitionException {
        try {
            int _type = MAS;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:120:5: ( '+' )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:120:7: '+'
            {
            match('+'); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "MAS"

    // $ANTLR start "MENOS"
    public final void mMENOS() throws RecognitionException {
        try {
            int _type = MENOS;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:123:7: ( '-' )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:123:9: '-'
            {
            match('-'); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "MENOS"

    // $ANTLR start "POR"
    public final void mPOR() throws RecognitionException {
        try {
            int _type = POR;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:126:5: ( '*' )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:126:7: '*'
            {
            match('*'); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "POR"

    // $ANTLR start "DIV"
    public final void mDIV() throws RecognitionException {
        try {
            int _type = DIV;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:129:5: ( '/' )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:129:7: '/'
            {
            match('/'); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "DIV"

    // $ANTLR start "LB"
    public final void mLB() throws RecognitionException {
        try {
            int _type = LB;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:132:4: ( '(' )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:132:6: '('
            {
            match('('); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "LB"

    // $ANTLR start "RB"
    public final void mRB() throws RecognitionException {
        try {
            int _type = RB;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:135:4: ( ')' )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:135:6: ')'
            {
            match(')'); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "RB"

    // $ANTLR start "COMA"
    public final void mCOMA() throws RecognitionException {
        try {
            int _type = COMA;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:138:6: ( ',' )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:138:8: ','
            {
            match(','); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "COMA"

    // $ANTLR start "DOTCOM"
    public final void mDOTCOM() throws RecognitionException {
        try {
            int _type = DOTCOM;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:141:8: ( ';' )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:141:10: ';'
            {
            match(';'); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "DOTCOM"

    // $ANTLR start "POT"
    public final void mPOT() throws RecognitionException {
        try {
            int _type = POT;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:144:6: ( '^' )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:144:8: '^'
            {
            match('^'); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "POT"

    // $ANTLR start "IGUAL"
    public final void mIGUAL() throws RecognitionException {
        try {
            int _type = IGUAL;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:147:7: ( '=' )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:147:9: '='
            {
            match('='); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "IGUAL"

    // $ANTLR start "ENTERO"
    public final void mENTERO() throws RecognitionException {
        try {
            int _type = ENTERO;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:150:8: ( ( MENOS )? ( DIGITO0A9 )* )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:150:10: ( MENOS )? ( DIGITO0A9 )*
            {
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:150:10: ( MENOS )?
            int alt5=2;
            int LA5_0 = input.LA(1);

            if ( (LA5_0=='-') ) {
                alt5=1;
            }
            switch (alt5) {
                case 1 :
                    // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:
                    {
                    if ( input.LA(1)=='-' ) {
                        input.consume();
                    }
                    else {
                        MismatchedSetException mse = new MismatchedSetException(null,input);
                        recover(mse);
                        throw mse;
                    }


                    }
                    break;

            }


            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:150:17: ( DIGITO0A9 )*
            loop6:
            do {
                int alt6=2;
                int LA6_0 = input.LA(1);

                if ( ((LA6_0 >= '0' && LA6_0 <= '9')) ) {
                    alt6=1;
                }


                switch (alt6) {
            	case 1 :
            	    // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:
            	    {
            	    if ( (input.LA(1) >= '0' && input.LA(1) <= '9') ) {
            	        input.consume();
            	    }
            	    else {
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
            	        recover(mse);
            	        throw mse;
            	    }


            	    }
            	    break;

            	default :
            	    break loop6;
                }
            } while (true);


            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "ENTERO"

    // $ANTLR start "NUMERO"
    public final void mNUMERO() throws RecognitionException {
        try {
            int _type = NUMERO;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:153:9: ( ( MENOS )? ( DIGITO0A9 )+ '.' ( DIGITO0A9 )+ )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:153:11: ( MENOS )? ( DIGITO0A9 )+ '.' ( DIGITO0A9 )+
            {
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:153:11: ( MENOS )?
            int alt7=2;
            int LA7_0 = input.LA(1);

            if ( (LA7_0=='-') ) {
                alt7=1;
            }
            switch (alt7) {
                case 1 :
                    // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:
                    {
                    if ( input.LA(1)=='-' ) {
                        input.consume();
                    }
                    else {
                        MismatchedSetException mse = new MismatchedSetException(null,input);
                        recover(mse);
                        throw mse;
                    }


                    }
                    break;

            }


            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:153:18: ( DIGITO0A9 )+
            int cnt8=0;
            loop8:
            do {
                int alt8=2;
                int LA8_0 = input.LA(1);

                if ( ((LA8_0 >= '0' && LA8_0 <= '9')) ) {
                    alt8=1;
                }


                switch (alt8) {
            	case 1 :
            	    // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:
            	    {
            	    if ( (input.LA(1) >= '0' && input.LA(1) <= '9') ) {
            	        input.consume();
            	    }
            	    else {
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
            	        recover(mse);
            	        throw mse;
            	    }


            	    }
            	    break;

            	default :
            	    if ( cnt8 >= 1 ) break loop8;
                        EarlyExitException eee =
                            new EarlyExitException(8, input);
                        throw eee;
                }
                cnt8++;
            } while (true);


            match('.'); 

            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:153:33: ( DIGITO0A9 )+
            int cnt9=0;
            loop9:
            do {
                int alt9=2;
                int LA9_0 = input.LA(1);

                if ( ((LA9_0 >= '0' && LA9_0 <= '9')) ) {
                    alt9=1;
                }


                switch (alt9) {
            	case 1 :
            	    // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:
            	    {
            	    if ( (input.LA(1) >= '0' && input.LA(1) <= '9') ) {
            	        input.consume();
            	    }
            	    else {
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
            	        recover(mse);
            	        throw mse;
            	    }


            	    }
            	    break;

            	default :
            	    if ( cnt9 >= 1 ) break loop9;
                        EarlyExitException eee =
                            new EarlyExitException(9, input);
                        throw eee;
                }
                cnt9++;
            } while (true);


            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "NUMERO"

    // $ANTLR start "SKIP"
    public final void mSKIP() throws RecognitionException {
        try {
            int _type = SKIP;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:155:7: ( ( ' ' | '\\t' | '\\r' | '\\n' ) )
            // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:
            {
            if ( (input.LA(1) >= '\t' && input.LA(1) <= '\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
                input.consume();
            }
            else {
                MismatchedSetException mse = new MismatchedSetException(null,input);
                recover(mse);
                throw mse;
            }


            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "SKIP"

    public void mTokens() throws RecognitionException {
        // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:1:8: ( VAR | UNIDADES | ID | MAS | MENOS | POR | DIV | LB | RB | COMA | DOTCOM | POT | IGUAL | ENTERO | NUMERO | SKIP )
        int alt10=16;
        alt10 = dfa10.predict(input);
        switch (alt10) {
            case 1 :
                // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:1:10: VAR
                {
                mVAR(); 


                }
                break;
            case 2 :
                // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:1:14: UNIDADES
                {
                mUNIDADES(); 


                }
                break;
            case 3 :
                // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:1:23: ID
                {
                mID(); 


                }
                break;
            case 4 :
                // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:1:26: MAS
                {
                mMAS(); 


                }
                break;
            case 5 :
                // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:1:30: MENOS
                {
                mMENOS(); 


                }
                break;
            case 6 :
                // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:1:36: POR
                {
                mPOR(); 


                }
                break;
            case 7 :
                // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:1:40: DIV
                {
                mDIV(); 


                }
                break;
            case 8 :
                // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:1:44: LB
                {
                mLB(); 


                }
                break;
            case 9 :
                // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:1:47: RB
                {
                mRB(); 


                }
                break;
            case 10 :
                // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:1:50: COMA
                {
                mCOMA(); 


                }
                break;
            case 11 :
                // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:1:55: DOTCOM
                {
                mDOTCOM(); 


                }
                break;
            case 12 :
                // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:1:62: POT
                {
                mPOT(); 


                }
                break;
            case 13 :
                // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:1:66: IGUAL
                {
                mIGUAL(); 


                }
                break;
            case 14 :
                // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:1:72: ENTERO
                {
                mENTERO(); 


                }
                break;
            case 15 :
                // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:1:79: NUMERO
                {
                mNUMERO(); 


                }
                break;
            case 16 :
                // C:\\Users\\pcn\\Desktop\\tptelen2012\\gramatica.g:1:86: SKIP
                {
                mSKIP(); 


                }
                break;

        }

    }


    protected DFA10 dfa10 = new DFA10(this);
    static final String DFA10_eotS =
        "\1\17\2\3\2\uffff\1\23\10\uffff\1\17\2\uffff\2\3\2\uffff\1\27\1"+
        "\3\1\uffff\4\3\1\35\1\uffff";
    static final String DFA10_eofS =
        "\36\uffff";
    static final String DFA10_minS =
        "\1\11\1\141\1\156\2\uffff\1\60\10\uffff\1\56\2\uffff\1\162\1\151"+
        "\2\uffff\1\60\1\144\1\uffff\1\141\1\144\1\145\1\163\1\60\1\uffff";
    static final String DFA10_maxS =
        "\1\172\1\141\1\156\2\uffff\1\71\10\uffff\1\71\2\uffff\1\162\1\151"+
        "\2\uffff\1\172\1\144\1\uffff\1\141\1\144\1\145\1\163\1\172\1\uffff";
    static final String DFA10_acceptS =
        "\3\uffff\1\3\1\4\1\uffff\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1\15\1"+
        "\uffff\1\16\1\20\2\uffff\1\5\1\17\2\uffff\1\1\5\uffff\1\2";
    static final String DFA10_specialS =
        "\36\uffff}>";
    static final String[] DFA10_transitionS = {
            "\2\20\2\uffff\1\20\22\uffff\1\20\7\uffff\1\10\1\11\1\6\1\4\1"+
            "\12\1\5\1\uffff\1\7\12\16\1\uffff\1\13\1\uffff\1\15\3\uffff"+
            "\32\3\3\uffff\1\14\2\uffff\24\3\1\2\1\1\4\3",
            "\1\21",
            "\1\22",
            "",
            "",
            "\12\16",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "\1\24\1\uffff\12\16",
            "",
            "",
            "\1\25",
            "\1\26",
            "",
            "",
            "\12\3\7\uffff\32\3\6\uffff\32\3",
            "\1\30",
            "",
            "\1\31",
            "\1\32",
            "\1\33",
            "\1\34",
            "\12\3\7\uffff\32\3\6\uffff\32\3",
            ""
    };

    static final short[] DFA10_eot = DFA.unpackEncodedString(DFA10_eotS);
    static final short[] DFA10_eof = DFA.unpackEncodedString(DFA10_eofS);
    static final char[] DFA10_min = DFA.unpackEncodedStringToUnsignedChars(DFA10_minS);
    static final char[] DFA10_max = DFA.unpackEncodedStringToUnsignedChars(DFA10_maxS);
    static final short[] DFA10_accept = DFA.unpackEncodedString(DFA10_acceptS);
    static final short[] DFA10_special = DFA.unpackEncodedString(DFA10_specialS);
    static final short[][] DFA10_transition;

    static {
        int numStates = DFA10_transitionS.length;
        DFA10_transition = new short[numStates][];
        for (int i=0; i<numStates; i++) {
            DFA10_transition[i] = DFA.unpackEncodedString(DFA10_transitionS[i]);
        }
    }

    class DFA10 extends DFA {

        public DFA10(BaseRecognizer recognizer) {
            this.recognizer = recognizer;
            this.decisionNumber = 10;
            this.eot = DFA10_eot;
            this.eof = DFA10_eof;
            this.min = DFA10_min;
            this.max = DFA10_max;
            this.accept = DFA10_accept;
            this.special = DFA10_special;
            this.transition = DFA10_transition;
        }
        public String getDescription() {
            return "1:1: Tokens : ( VAR | UNIDADES | ID | MAS | MENOS | POR | DIV | LB | RB | COMA | DOTCOM | POT | IGUAL | ENTERO | NUMERO | SKIP );";
        }
    }
 

}